//
//  main.m
//  代理
//
//  Created by liuchengming on 16/4/21.
//  Copyright © 2016年 liuchengming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Student.h"
#import "Teacher.h"
int main(int argc, const char * argv[]) {
    @autoreleasepool
    {
        Student * zhangsan =[[Student alloc]init];
        zhangsan.name=@"张三";
        zhangsan.ID=@"123456789";
        [zhangsan say];
        [zhangsan SingSong];
        
        Teacher * w =[[Teacher alloc]init];
        w.name = @"王老师";
        [w say];
        [w SingSong];
    }
    return 0;
}
